package com.hapzxb;

import com.hapzxb.service.BaseService;
import com.hapzxb.service.impl.PersonServiceImpl;
import com.hapzxb.util.ProxyFactory;

public class TestMain {
    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        BaseService person = ProxyFactory.Builder(PersonServiceImpl.class);

//        builder.eat("小明");
        person.wc("小明");
    }
}
